package com.shxc.smarttrade.other.model;

/**
 * Created by czq on 2017/12/19.
 */

public class CheckAcoountInfoModel {
    /**
     * data : {"openError":{"msgCount":2,"msgInfo":"图片不清晰"},"isOpen":true,"destory":true,"accType":1}
     * err_code : 0
     * err_msg : successe
     */

    private DataBean data;
    private String err_code;
    private String err_msg;

    public DataBean getData() {
        return data;
    }

    public void setData(DataBean data) {
        this.data = data;
    }

    public String getErr_code() {
        return err_code;
    }

    public void setErr_code(String err_code) {
        this.err_code = err_code;
    }

    public String getErr_msg() {
        return err_msg;
    }

    public void setErr_msg(String err_msg) {
        this.err_msg = err_msg;
    }

    public static class DataBean {
        /**
         * openError : {"msgCount":2,"msgInfo":"图片不清晰"}
         * isOpen : true
         * destory : true
         * accType : 1
         */

        private OpenErrorBean openError;//开户错误信息
        private boolean isOpen;//是否开户
        private boolean destory;//模拟是否过期
        private int accType;//当前账户

        public OpenErrorBean getOpenError() {
            return openError;
        }

        public void setOpenError(OpenErrorBean openError) {
            this.openError = openError;
        }

        public boolean isIsOpen() {
            return isOpen;
        }

        public void setIsOpen(boolean isOpen) {
            this.isOpen = isOpen;
        }

        public boolean isDestory() {
            return destory;
        }

        public void setDestory(boolean destory) {
            this.destory = destory;
        }

        public int getAccType() {
            return accType;
        }

        public void setAccType(int accType) {
            this.accType = accType;
        }

        public static class OpenErrorBean {
            /**
             * msgCount : 2
             * msgInfo : 图片不清晰
             */

            private int msgCount;//信息条数
            private String msgInfo;//错误原因

            public int getMsgCount() {
                return msgCount;
            }

            public void setMsgCount(int msgCount) {
                this.msgCount = msgCount;
            }

            public String getMsgInfo() {
                return msgInfo;
            }

            public void setMsgInfo(String msgInfo) {
                this.msgInfo = msgInfo;
            }
        }
    }
}
